
namespace Himall.Entity
{
    using System;
    using System.Collections.Generic;
    /// <summary>
    /// 会员积分记录明细
    /// </summary>
    public partial class MemberIntegralRecord:BaseModel
    {      
        long _id;
        public new long Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        public long MemberId { get; set; }
        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 兑换类型（登录、下单等）
        /// </summary>
        public IntegralType TypeId { get; set; }
        /// <summary>
        /// 积分数量
        /// </summary>
        public int Integral { get; set; }
        /// <summary>
        /// 记录日期
        /// </summary>
        public Nullable<System.DateTime> RecordDate { get; set; }
        /// <summary>
        /// 说明
        /// </summary>
        public string ReMark { get; set; }
    
        public virtual UserMemberInfo Himall_Members { get; set; }
        public virtual ICollection<MemberIntegralRecordAction> Himall_MemberIntegralRecordAction { get; set; } = new HashSet<MemberIntegralRecordAction>();
    }
}
